package net.starwifi.duobao.entity;

import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * Created by Administrator on 2016/2/1.
 */
@Entity
@Table(name = "duob_gifts_product_log")
@SequenceGenerator(name = "sequenceGenerator", sequenceName = "duob_gifts_product_log_sequence")
public class GiftsProductLog extends BaseEntity {

    private Long memberId;

    private String mobile;

    private Long giftsId;

    private String giftsName;

    private String giftsLogo;

    /** 是否已经激活 */
    private Boolean isActivation;

    public GiftsProductLog() {
    }

    public GiftsProductLog(Long memberId, String mobile, Long giftsId, String giftsName, String giftsLogo, Boolean isActivation) {
        this.memberId = memberId;
        this.mobile = mobile;
        this.giftsId = giftsId;
        this.giftsName = giftsName;
        this.giftsLogo = giftsLogo;
        this.isActivation = isActivation;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Long getGiftsId() {
        return giftsId;
    }

    public void setGiftsId(Long giftsId) {
        this.giftsId = giftsId;
    }

    public String getGiftsName() {
        return giftsName;
    }

    public void setGiftsName(String giftsName) {
        this.giftsName = giftsName;
    }

    public String getGiftsLogo() {
        return giftsLogo;
    }

    public void setGiftsLogo(String giftsLogo) {
        this.giftsLogo = giftsLogo;
    }

    public Boolean getIsActivation() {
        return isActivation;
    }

    public void setIsActivation(Boolean isActivation) {
        this.isActivation = isActivation;
    }
}
